﻿using System;
using System.ComponentModel;
using System.Windows.Navigation;

using SBPweb.RIA.Shared.Contracts.Base;

namespace SBPweb.RIA.Client.Contracts.Base
{

    public class NavigatorEventArgs : ExtendableEventArgs
    {

        public NavigatorEventArgs(Uri uri)
            : this(uri, null)
        {
        }

        public NavigatorEventArgs(Uri uri, object content)
        {
            this.Uri = uri;
            this.Content = content;
        }

        // Summary:
        //     Gets the content of the target being navigated to.
        //
        // Returns:
        //     An object that represents the target content.
        public object Content
        {
            get;
            protected set;
        }
        //
        // Summary:
        //     Gets the uniform resource identifier (URI) of the target.
        //
        // Returns:
        //     A value that represents the URI.
        public Uri Uri
        {
            get;
            protected set;
        }

    }

}